package com.cqjtu.eecs.entity.vo;

import com.cqjtu.eecs.entity.dto.CourseBackGraduateDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.List;
import java.util.Map;

@Data
@ToString
@EqualsAndHashCode
public class CourseBackGraduateVO {
    @ApiModelProperty("1级毕业要求总数")
    private Integer graduateTopCount;
    @ApiModelProperty("2级毕业要求数量")
    private Map<String, Integer> graduateCount;
    @ApiModelProperty("课程毕业要求支撑对象")
    private List<CourseBackGraduateDTO> courseBackGraduateDTOS;

    public CourseBackGraduateVO(Integer graduateTopCount,
                                Map<String, Integer> graduateCount,
                                List<CourseBackGraduateDTO> courseBackGraduateDTOS) {
        this.graduateTopCount = graduateTopCount;
        this.graduateCount = graduateCount;
        this.courseBackGraduateDTOS = courseBackGraduateDTOS;
    }
}
